import request from "@/utils/request";

export const reqshuju = () => {
  return request.get(`admin/order/orderInfo/getCountMap`);
};

// 获取 "订单列表" 数据
export const reqOrderList = (page = 1, limit = 10, data) => {
  return request.get(`/admin/order/orderInfo/${page}/${limit}`, {
    params: { ...data },
  });
};

//请求 "订单详情" 页面的数据
export const reqOrderDetails = (id) => {
  return request.get(`/admin/order/orderInfo/show/${id}`);
};

